﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using SelfMadeMillionaire.Web.Infrastructure.Attributes;

namespace SelfMadeMillionaire.Web.Infrastructure.ViewModels.EmailSend
{
    public class EmailSendView
    {
        public int ID { get; set; }

        [DisplayName("To: ")]
        public string SendTo { get; set; }

        [DisplayName("Additional recipients:")]
        [StringLength(255)]
        public string AdditRecipients { get; set; }

        [DisplayName("Subject:")]
        [StringLength(100)]
        [Required]
        public string Subject { get; set; }

        [DisplayName("Body:")]
        [Required]
        public string Body{get;set;}
        
        [DisplayName("Sent On:")]
        public DateTime SentDate { get; set; }

        [DisplayName("Free Subscribers")]
        public bool IsFreeSubscribers { get; set; }

        [DisplayName("Silver")]
        public bool IsSilver { get; set; }

        [DisplayName("Gold")]
        public bool IsGold { get; set; }

        [DisplayName("Platinum")]
        public bool IsPlatinum { get; set; }

        public byte Status { get; set; }

        public DateTime CreationDate { get; set; }

        public int Page { get; set; }
    }
}
